package cn.dyhack.bibiscan.vo;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import cn.dyhack.bibiscan.util.Date2LongSerializer;

/**
 * 
 * VO层用户类
 *
 * @author zhangke
 * @since 1.0.0
 */
public class VoUser {
    private Long      id;
    private String    username;
    private String    sex;
    private Byte      isSystem;
    private String    salt;
    private String    passwordSalt;
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date registDatetime;
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date lastLoginDatetime;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getSex() {
        return sex;
    }
    public void setSex(String sex) {
        this.sex = sex;
    }
    public Byte getIsSystem() {
        return isSystem;
    }
    public void setIsSystem(Byte isSystem) {
        this.isSystem = isSystem;
    }
    public String getSalt() {
        return salt;
    }
    public void setSalt(String salt) {
        this.salt = salt;
    }
    public String getPasswordSalt() {
        return passwordSalt;
    }
    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt;
    }
    public Date getRegistDatetime() {
        return registDatetime;
    }
    public void setRegistDatetime(Date registDatetime) {
        this.registDatetime = registDatetime;
    }
    public Date getLastLoginDatetime() {
        return lastLoginDatetime;
    }
    public void setLastLoginDatetime(Date lastLoginDatetime) {
        this.lastLoginDatetime = lastLoginDatetime;
    }
 
   
    
    
}
